]> dgit.raspbian.org Git - gnome-shell.git/commit
swipeTracker: Optionally require modifiers for scrolling
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 29 Jan 2021 20:28:52 +0000 (21:28 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 4 Feb 2021 20:04:15 +0000 (20:04 +0000)
commitac8246050ddcba7ada494dd955c9028901794a13
treecce7e1b57e49aad1f898a827db872200d056a8e6
parent26a39bdf781e2547bd5cbe2d9131b32012f11145
swipeTracker: Optionally require modifiers for scrolling

The design now calls for super-scroll for workspace switching
in the session, however it is currently only possible for
SwipeTracker to either handle scroll events or not.

In order to support the new use case, add a new :scroll-modifiers
property that allows specifying modifiers for which scroll events
are handled.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1612>
js/ui/swipeTracker.js